package com.mlearning.demo.mapper;

import com.mlearning.demo.pojo.neo4j.Book;
import com.mlearning.demo.pojo.utils.Triad;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;
import java.util.List;

@Mapper
@Repository
public interface GraphMapper {
    List<Triad> know2Know(@Param("name") String knowName);

    List<Triad> know2Books(@Param("name") String knowName);
}
